package com.rongmai.db.vo;

import com.rongmai.db.model.User;
import com.rongmai.db.model.UserBusiness;
import lombok.Data;
import org.springframework.beans.BeanUtils;

import java.util.List;

/**
 * @ClassName UserVo
 * @Description 用户显示类
 *
 * @author sunhaojie 3113751575@qq.com
 * @date 2017年5月29日 下午10:42:34
 */
@Data
public class UserVo extends User {

	/**
	 * 页号
	 */
	private int pageNo;

	/**
	 * 页容
	 */
	private int pageSize;

	public UserVo() {

	}
	public UserVo(User user) {
		BeanUtils.copyProperties(user, this);
	}

	//---------------标签--------------
	private List<String> cityList;
	private List<String> industryList;
	private List<String> modelList;
	private List<String> productList;
	private List<String> titleList;
	private List<String> departmentList;

	private List<String> orgTypeList;

	private List<UserBusiness> userBusinesses;
}
